<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="username" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Community')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-community" data-rule="required"  data-source="config/value/index" data-field="option_name" data-primary-key="option_id" data-params='{"custom[cid]":2,"custom[pid]":0}' class="form-control selectpage" name="row[community]" type="text" value="{$row.community|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Min_rent')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-min_rent" data-rule="required" class="form-control" step="0.01" name="row[min_rent]" type="number" value="{$row.min_rent|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Max_rent')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-max_rent" data-rule="required" class="form-control" step="0.01" name="row[max_rent]" type="number" value="{$row.max_rent|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Min_floor')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-min_floor" data-rule="required" class="form-control" name="row[min_floor]" type="number" value="{$row.min_floor|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Max_floor')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-max_floor" data-rule="required" class="form-control" name="row[max_floor]" type="number" value="{$row.max_floor|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('House_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-house_type" data-rule="required" data-source="config/value/index" data-field="option_name" data-primary-key="option_id" data-params='{"custom[cid]":5,"custom[pid]":0}' class="form-control selectpage"  name="row[house_type]" type="text" value="{$row.house_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Payment_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-payment_type" data-rule="required" data-source="config/value/index" data-field="option_name" data-primary-key="option_id" data-params='{"custom[cid]":7,"custom[pid]":0}' class="form-control selectpage" name="row[payment_type]" type="text" value="{$row.payment_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tags')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tags"  data-source="config/value/index" data-field="option_name" data-primary-key="option_id" data-params='{"custom[cid]":8}' data-multiple="true" class="form-control selectpage"   name="row[tags]" type="text" value="{$row.tags|htmlentities}">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
